package com.ch.forum.service;

import com.ch.forum.bo.ResponseResult;
import com.ch.forum.model.UserModel;

public interface UserService {

    ResponseResult addUser(UserModel userModel);

    ResponseResult login(String phone, String pwd);

    ResponseResult checkListPage(int pageNo, int pageSize);

    ResponseResult checkUser(String ids);

    ResponseResult vipUser(String ids);

    ResponseResult forget(String phone);

    ResponseResult updatePwd(String phone, String old, String latest);

    ResponseResult updateUserInfo(Long userId, String nickName, String imgUrl, String phone);

    ResponseResult checkValid(Long userId);

    ResponseResult checkDealPwd(Long id, String dealPwd);

    ResponseResult findUserLists();

    ResponseResult findUserById(Long id);
}
